package com.pactera.asmp.server.common.constants;

import java.util.List;

/**
 * @ProjectName: asmpserver
 * @Package: com.pactera.asmp.server.common.constants
 * @ClassName: QueryResult
 * @Author: lvzhiqiang
 * @Description:
 * @Date: 2019/8/27 15:50
 * @Version: 1.0
 */
public class QueryResult<T> {
    private List<T> list;
    private long total;

    public QueryResult() {
    }

    public QueryResult(List<T> list, long total) {
        this.list = list;
        this.total = total;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }
}
